//
//  UITextField+JSPlaceholder.m
//  IJSOCproject
//
//  Created by shange on 2017/4/25.
//  Copyright © 2017年 jinshan. All rights reserved.
//

#import "UITextField+JSPlaceholder.h"


@implementation UITextField (JSPlaceholder)

// 重写 set get方法
- (UIColor *)js_placeholderColor
{
    return self.js_placeholderColor;
}

- (void)setJs_placeholderColor:(UIColor *)js_placeholderColor
{
    // 设置真正的占位文字的暗色
    UILabel *placeholderLabel = [self valueForKey:@"placeholderLabel"];
    placeholderLabel.textColor = js_placeholderColor;
}


@end
